package com.duoec.magichour.pojo;

import java.util.Date;

public class ArticleComment {
    /**
     * 评论ID
     * @demo 1345
     */
    private Long id;

    /**
     * 评论的文章ID
     * @demo 1345565
     */
    private Long articleId;

    /**
     * 评论者ID
     * @demo 5433
     */
    private Long userId;

    /**
     * 评论内容
     * @demo 嗯，好文！
     */
    private String comment;

    /**
     * 创建时间
     * @demo 2017-07-01 12:23:34
     */
    private Date createTime;

    /**
     * 评论状态 -1=已删除 0=正常
     * @demo 0
     */
    private Byte commentStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Byte getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(Byte commentStatus) {
        this.commentStatus = commentStatus;
    }
}